<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="b">
    <div id="all" style="padding-top: 20px">
        <div id="content">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <!-- breadcrumb-->
                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb">
                                <i class="fa fa-eye" style="padding-top: 2px"></i>当前位置:&nbsp;&nbsp;
                                <li class="breadcrumb-item"><a href="/">主页</a></li>
                                <li class="breadcrumb-item"><span>客户问诊</span></li>
                            </ol>
                        </nav>
                    </div>
                    <div class="col-lg-3">
                        <div th:include="page/customer/menuLeft::#m"></div>
                    </div>
                    <div id="blog-post" class="col-lg-9">
                        <div class="box">
                            <h2 style="text-align: center">客户问诊</h2>
                            <h4 style="text-align: center;color: red">(问诊结果仅供参考,如要治疗请到正规医院,自行治疗所产生的一切后果与我们医院无关!!)</h4>
                            <form action="/inquiry/save" method="post" enctype="multipart/form-data">
                                <div class="form-group form-inline">
                                    <label>宠物名称:</label>&nbsp;
                                    <select id="petId" name="petId" required="required" class="form-control">
                                        <option value="">选择您的宠物...</option>
                                        <div th:each="pet:${petList}">
                                            <option th:text="${pet.name}" th:value="${pet.id}"></option>
                                        </div>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label>病情照片:</label>
                                    <input type="file" name="inquiryImage" required="required">
                                </div>
                                <div class="form-group">
                                    <label>病情描述:</label>
                                    <textarea id="content" name="content" class="form-control" rows="5" required="required" placeholder="请填写您的宠物病况..."></textarea>
                                </div>
                                <div class="text-center">
                                    <button type="submit" class="btn btn-primary">提交</button>
                                </div>
                            </form>
                        </div>
                        <!-- /.box-->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>